import {request} from "../../request";

export function getRecipientsforwardById(id){
    return request({
        url:`/lswms/recipientsforward/${id}`,
        method:'get'
    })
}


export function getRecipientsforwardPage(data){
    return request({
        url:'/lswms/recipientsforward/page',
        method:'put',
        data:data
    })
}

export function putRecipientsforward(data){
    return request({
        url:'/lswms/recipientsforward',
        method:'put',
        data:data
    })
}
export function postRecipientsforward(data){
    return request({
        url:'/lswms/recipientsforward',
        method:'post',
        data:data
    })
}

export function deleteRecipientsforward(data){
    return request({
        url:`/lswms/recipientsforward`,
        method:'delete',
        data:data
    })
}
export function exportRecipientsforward(data){
    return request({
        url:`/lswms/recipientsforward/export`,
        method:'get',
        data:data,
        responseType:'blob'
    })
}
